package cn.sam416.sample.part0107inheritance.beandefinitionbuilder;

public class Car {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
@Override
 public String toString() {
        return "Car{" +
                "name='" + name + '\'' +
                '}';
    }

}
